#define _CRT_SECURE_NO_WARNINGS
#include <iostream>
#include <string>
#include <unordered_map>
int main()
{
    std::unordered_map<std::string, double> mymap = {
       {"Burger",2.99},
       {"Fries",1.99},
       {"Soda",-1.50},
        {"Burger",1.99}
    };

    for (auto& x : { "Burger","Fries","Salad","Soda" }) {
        if (mymap.count(x) > 0)
        {
            std::cout << mymap.count(x);
            std::cout << "  mymap has " << x << std::endl;
        }
        else
        {
            std::cout << mymap.count(x);
            std::cout << " mymap has no " << x << std::endl;
        }
    }

    return 0;
}